import request from '@/util/request.js'
export const selectTeacherList = function (params = {}) {
  return request.get('/admin/teacher', {
    params,
  })
}

export const deleteTeacherList = function (params = {}) {
  return request.delete('/admin/teacher', {
    params,
  })
}

export const insertTeacher = function (data = {}) {
  return request.post('/admin/teacher', data)
}

export const updateTeacher = function (data = {}) {
  return request.put('/admin/teacher', data)
}
